package com.jhnote.dao;

import com.jhnote.pojo.User;

import java.util.HashMap;
import java.util.List;

public interface UserDao {

    public List<User> getUserList();

    public User getUserById(int id);

    public int createUser(User user);

    public int updateUser(User user);

    public int deleteUser(int id);

    public int createUserByMap(HashMap<String, Object> map);

    public List<User> getUserListByLike(String keyword);
}
